<?php
require $_SERVER['DOCUMENT_ROOT'].'/../_core/common.php';

//权限验证
if( Role::init() == false ){
	exit('没有权限');
}

require $_SERVER['DOCUMENT_ROOT'].'/../_interface/pages.php';

$category_id = isset($_GET['category_id']) ? intval($_GET['category_id']) : 1;

//记录动作日志
Log::logs_articles($category_id, 2);

require template('admin/news/news_add');